FROM elasticsearch:7.7.0
USER root
RUN chmod 777 /usr/share/elasticsearch/data && \
    chmod 777 /usr/share/elasticsearch/logs

